-- GENERATED SPELL FOR [Drysnap Pincer] --


function spell0_11563(pUnit, Event) --@Rend,n/a--
pUnit:FullCastSpellOnTarget(13443,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11563', 15000, 1)
end

function spell1_11563(pUnit, Event) --@Sunder Armor,n/a--
pUnit:FullCastSpellOnTarget(13444,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_11563', 30332, 1)
end

function Sorts_11563(pUnit, Event)
local choix_sorts_11563 = math.random(0, 1)
if choix_sorts_11563 == 0 then
pUnit:RegisterEvent('spell0_11563', 1, 1)
end
if choix_sorts_11563 == 1 then
pUnit:RegisterEvent('spell1_11563', 1, 1)
end
end

function mob11563_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_11563', math.random(1500, 3000), 1)
end

function mob11563_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11563_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob11563_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(11563, 1, 'mob11563_Action')
RegisterUnitEvent(11563, 2, 'mob11563_Leave')
RegisterUnitEvent(11563, 3, 'mob11563_Kill')
RegisterUnitEvent(11563, 4, 'mob11563_Die')
